package com.atguigu.gmall.order.mapper;

import com.atguigu.gmall.order.entity.OrderInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author lfy
* @description 针对表【order_info(订单表 订单表)】的数据库操作Mapper
* @createDate 2023-08-01 11:49:36
* @Entity com.atguigu.gmall.order.entity.OrderInfo
*/
public interface OrderInfoMapper extends BaseMapper<OrderInfo> {

    OrderInfo getChildOrderInfoAndDetails(@Param("orderId") Long orderId,
                                          @Param("userId") Long userId,
                                          @Param("skuIds") List<String> skuIds);
}




